home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2003 #3 / K-CD-3-2003.ISO / WinXP Service Pack 1 / xpsp1_sv_x86.exe / netsetup.exe / NoUPnP.inf < prev    next >
Encoding:
Windows Setup INFormation  |  2002-08-01  |  5.1 KB  |  181 lines

  1. ;
  2. ; This is the Setup information file for Network Setup Wizard Down-level Client 
  3. ; Setup Package.  Modified from upnp.inf --- Tin Qian 4/4/2001
  4. ;
  5. ; Copyright 2000-2001, Microsoft Corporation
  6. ;
  7.  
  8.  
  9. [Version]
  10. Signature=$CHICAGO$
  11. SetupClass=Base
  12.  
  13. [SourceDisksNames]
  14. 1=%TEMP%,"",1
  15.  
  16. [SourceDisksFiles]
  17. NoUPnP.inf=1
  18. ssdpapi.dll=1
  19. ssdpsrv.exe=1
  20. upnp.dll=1
  21. hnetwiz.dll=1
  22. icsdclt.dll=1
  23. ncxp16.dll=1
  24. ncxp32.dll=1
  25. ncxpnt.dll=1
  26.  
  27. [DestinationDirs]
  28. CopyInf = 17    ; LDID_INF, windows\inf
  29. CopySys = 11    ; LDID_SYS, windows\system
  30.  
  31.  
  32. ;
  33. ; INF Entry Points
  34. ;
  35. [DefaultInstall]
  36. OptionDesc=%UPNP_Desc%
  37. Tip=%UPNP_Tip%
  38. Parent = CommApps
  39. AddReg=MS_UPNP_Reg, SSDP.Register, RegisterDLLS, RunHnetWizard
  40. CopyFiles=CopyInf, CopySys
  41. UpdateInis=ICS_Client_AddLink
  42. InstallType = 0                ;Maunual Install Only
  43. IconIndex= 17                  ;XP UPNP mini-icon
  44. Uninstall=MS_UPNP_Uninstall
  45. Reboot=1
  46. BeginPrompt=BeginPromptSection
  47. EndPrompt=EndPromptSection
  48.  
  49. [BeginPromptSection]
  50. Title=%PKG_DESC%
  51.  
  52. [EndPromptSection]
  53. Prompt=%EndPrompt%
  54.  
  55. [ICS_Client_AddLink]
  56. setup.ini, progman.groups, , "Comm_Group=%COMM_DESC%"
  57. setup.ini, Comm_Group,,"""%ICS_DESC%"",""%25%\rundll32.exe %11%\icsdclt.dll,ICSClient"""
  58.  
  59. [ICS_Client_RemoveLink]
  60. setup.ini, progman.groups, , "Comm_Group=%COMM_DESC%"
  61. setup.ini, Comm_Group,,"""%ICS_DESC%""
  62.  
  63. [MS_UPNP_Uninstall]
  64. AddReg=MS_UPNP_Uninstall_Reg, UnRegisterDLLs, BootstrapDeletion
  65. DelReg=SSDP.Unregister, RemoveDiscoveredDevices
  66. UpdateInis=ICS_Client_RemoveLink
  67. Reboot=1
  68.  
  69. [MS_UPNP_Uninstall_Part2]
  70. DelFiles = DelSys
  71.  
  72. ;
  73. ; File Sections.  These actually list which files are copied.  The destination
  74. ; dir for each section is set by DestinationDirs above.
  75. ;
  76.  
  77. [CopyInf]
  78. hnwcli.inf,NoUPnP.inf
  79.  
  80. ; Provide temporary file names so that they are copied to destination using the temporary 
  81. ; names then get renamed upon reboot.  This is useful when the files are in use.
  82. [CopySys]
  83. ssdpapi.dll,,_ssdpapi.tmp,6
  84. ssdpsrv.exe,,_ssdpsrv.tmp,6
  85. upnp.dll,,_upnp.tmp,6
  86. hnetwiz.dll,,_hnetwiz.tmp,6
  87. icsdclt.dll,,_icsdclt.tmp,6
  88. ncxp16.dll,,_ncxp16.tmp,6
  89. ncxp32.dll,,_ncxp32.tmp,6
  90. ncxpnt.dll,,_ncxpnt.tmp,6
  91.  
  92. ; delete dlls and exes even if they are in use.
  93. [DelSys]
  94. ssdpapi.dll,,,1
  95. ssdpsrv.exe,,,1
  96. upnp.dll,,,1
  97. hnetwiz.dll,,,1
  98. icsdclt.dll,,,1
  99. ncxp16.dll,,,1
  100. ncxp32.dll,,,1
  101. ncxpnt.dll,,,1
  102.  
  103. ;
  104. ; Registry Settings
  105. ;
  106.  
  107. ; Network Setup Wizard Down-level Client Setup
  108. ; Lists upnp as an installed optional component
  109. ;
  110. [MS_UPNP_Reg]
  111. HKLM,"%KEY_OPTCOMPONENTS%","UPNP",,"UPNP"
  112. HKLM,"%KEY_OPTCOMPONENTS%\UPNP","INF",,"hnwcli.inf"
  113. HKLM,"%KEY_OPTCOMPONENTS%\UPNP","Section",,"DefaultInstall"
  114. HKLM,"%KEY_OPTCOMPONENTS%\UPNP","Installed",,"1"
  115.  
  116. ; Mark UPNP as uninstalled and restore the previous UPnP Setup
  117. ;
  118. [MS_UPNP_Uninstall_Reg]
  119. HKLM,"%KEY_OPTCOMPONENTS%\UPNP","INF",,"upnp.inf"
  120. HKLM,"%KEY_OPTCOMPONENTS%\UPNP","Section",,"UPNP"
  121. HKLM,"%KEY_OPTCOMPONENTS%\UPNP","Installed",,"0"
  122.  
  123. ; SSDP-related
  124. ;
  125. [SSDP.Register]
  126. HKLM,"%KEY_RUNSERVICES%","SSDPSRV",,"%11%\ssdpsrv.exe"
  127. HKLM,"%KEY_RUN%","ICSDCLT",,"%25%\rundll32.exe %11%\icsdclt.dll,ICSClient"
  128.  
  129. [SSDP.Unregister]
  130. HKLM,"%KEY_RUNSERVICES%","SSDPSRV"
  131. HKLM,"%KEY_RUN%","ICSDCLT"
  132. HKLM,"%KEY_ICSCLIENT%"
  133.  
  134. ;register/unregister upnp dlls. Also run home network setup wizard once.
  135. ;
  136. [RegisterDLLS]
  137. HKLM,"%KEY_RUNONCEEX%\upnp","000",,"%11%\upnp.dll|DllRegisterServer"
  138. HKLM,"%KEY_RUNONCEEX%\icsdclt","000",,"%11%\icsdclt.dll|DllRegisterServer"
  139.  
  140. [RunHnetWizard]
  141. HKLM,"%KEY_RUNONCEEX%\upnp","999",,"%25%\rundll32.exe %11%\hnetwiz.dll,HomeNetWizardRunDll"
  142.  
  143. [UnRegisterDLLs]
  144. HKLM,"%KEY_RUNONCEEX%\upnp","000",,"%11%\upnp.dll|DllUnregisterServer"
  145. HKLM,"%KEY_RUNONCEEX%\icsdclt","000",,"%11%\icsdclt.dll|DllUnregisterServer"
  146.  
  147. ; for uninstallation
  148. ;   - this tells setup to add a registry key that, after reboot, will run
  149. ;     the exported 'InstallHInfSection' function from setupx.dll and tell
  150. ;     it to load this .inf file again and process the section
  151. ;     "MS_UPNP_Uninstall_Part2", which will delete the files.
  152. ;     Wonderful.
  153. [BootstrapDeletion]
  154. HKLM,"%KEY_RUNONCEEX%\upnp","999",,"RUNDLL SETUPX.DLL,InstallHInfSection MS_UPNP_Uninstall_Part2 64 upnp.inf"
  155.  
  156. ; This is a hack to remove the list of discovered devices when we're
  157. ; uninstalled.
  158. [RemoveDiscoveredDevices]
  159. HKLM,"%KEY_UPNPDATA%"
  160.  
  161. ;
  162. ; Strings
  163. ;
  164.  
  165. [Strings]
  166. ;Non-Localizable strings
  167. KEY_RUNONCEEX = "Software\Microsoft\Windows\CurrentVersion\RunOnceEx"
  168. KEY_OPTCOMPONENTS = "Software\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  169. KEY_RUNSERVICES = "Software\Microsoft\Windows\CurrentVersion\RunServices"
  170. KEY_RUN = "Software\Microsoft\Windows\CurrentVersion\Run"
  171. KEY_UPNPDATA = "Software\Microsoft\Windows\CurrentVersion\UPnP"
  172. KEY_ICSCLIENT = "Software\Microsoft\Windows\CurrentVersion\ICSClient"
  173.  
  174. ;Localizable strings
  175. PKG_DESC = "Guiden Konfigurera nΣtverk"
  176. EndPrompt = "Du kommer att ombes att starta om datorn. Ta bort eventuell diskett eller CD-skiva ur enheten och klicka dΣrefter pσ OK."
  177. UPNP_Desc = "Universal Plug and Play"
  178. UPNP_Tip = "Universal Plug and Play g÷r att Windows och smarta enheter kan anslutas och kommunicera helt s÷ml÷st."
  179. Comm_Desc = "Tillbeh÷r\Kommunikation"
  180. ICS_Desc = "Internet-gateway"
  181.